package org.ddevil.data;

/**
 * This interface describes a generic filter.
 * 
 * @author Rich O'Connell
 */
public interface Filter<T> {
    
    /**
     * Determines if the argument should be filtered or not.
     * 
     * @param arg - The argument we are checking.
     * 
     * @return - True if we should accept this argument and
     * allow it to pass through our filter. False if we should
     * filter it out.
     */
    public boolean accept(T arg);
}
